package com.example.demotest.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class OrderDetailDto {
    private Integer id;
    private String orderNumber;
    private Integer orderStatus;
    private BigDecimal orderPrice;
    private Integer buyerId;
    private Integer sellerId;
    private Integer quantity;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createTime;

    private String paymentWay;
    private Integer paymentStatus;

    private IdleItemDTO idleItem;
    private OrderAddressDTO orderAddress;  // 新增地址信息
}